home *** CD-ROM | disk | FTP | other *** search
- Subject: Mouse Event Handling
- Sent: 3/8/96 3:21 PM
- Received: 3/8/96 2:31 PM
- From: BikeB4Work@aol.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- How do I use the MouseEnter, MouseWithin and MouseLeave event handler methods
- while the mouse button is still down?
-
- It appears that FW_CODPart::HandleEvent() is called with a nullEvent when the
- mouse button is still down? I thought that I could check for a mouse still
- down in FW_CEventDispatcher::Dispatch()'s nullEvent; then call one of the
- other mouse events. However, when FW_CEventDispatcher::Dispatch() is called,
- the odFrame is NULL, but the mouse position is available in the event record.
-
- Is it possible to get the appropriate frame and call MouseEnter, MouseWithin
- or MouseLeave? Or is there an easier way to take advantage of these mouse
- event methods when the mouse button is still down?
-
- Thanks,
- Ken
- BikeB4Work@aol.com
-